//
//  BannerView.h
//  ZhiBo
//
//  Created by 苏贵明 on 16/3/7.
//  Copyright © 2016年 苏贵明. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^TapBlock)(int index);

@interface BannerView : UIView<UIScrollViewDelegate>
@property(nonatomic,copy)TapBlock tapBlock;

-(instancetype)initWithFrame:(CGRect)frame dataArray:(NSArray*)array;


@end
